package com.markyao.service;

import com.markyao.dao.pojo.Product;
import com.markyao.vo.Result;
import com.markyao.vo.parmas.CartParmas;
import com.markyao.vo.parmas.SearchParma;

public interface ProductService {

    Result findHotList();

    Result findDetailsById(Integer id);

    Result findNewList();

    Result addCart(CartParmas cartParmas);

    Result getPageList(SearchParma searchParma);


    Product getProductByid(Integer goodsId);

    int reduceMiaoshaCnt(Integer goodsId);
}
